package com.scoressystem.service;

import com.scoressystem.pojo.Student;
import com.scoressystem.pojo.Subjects;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SubjectsService {

    List<Subjects> selectAllSubjectsByPage(Map<String, Object> map);

    long selectAllSubjectsCount(Map<String, Object> map);

    int addSubject(Subjects Subject);

    int deleteSubjectById(Integer SubjectNo);

    int updateSubject(Subjects Subject);

    Subjects getSubjectsByName(String SubjectName);

    Subjects getSubjectById(Integer SubjectNo);

    List<Subjects> getAllSubjects();

}
